package com.histone.hellolinux.com;



import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/home")
@Data
@Slf4j
public class Hello {



    @RequestMapping("/hello")
    public String hello(){

        log.info("请求收到！");
        return "ok了";
    }
}
